package cn.ssm.service.serviceImpl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.ssm.dao.HallMapper;
import cn.ssm.pojo.Hall;
import cn.ssm.service.HallService;
/**
 * 
 * 管理影厅业务实现类
 * @author aihui
 *
 */
@Service
public class HallServiceImpl implements HallService {
	@Autowired
	HallMapper hallMapper;

	@Override
	public List<Hall> getHallList() {
		return hallMapper.getHallList();
	}

	@Override
	public int addHall(Hall hall) {
		return hallMapper.addHall(hall);
	}
	//修改影厅信息
	@Override
	public int updateHall(Hall hall) {
		return hallMapper.updateHall(hall);
	}
	//删除影厅
	@Override
	public int delHall(Hall hall) {
		return hallMapper.delHall(hall);
	}

}
